#!/bin/bash

if [[ $(id -u) != 0 ]]; then
    echo "Please run as root or use sudo"
    exit 1
fi

set -e

# locate
apt-get install -y mlocate
# no need to do updatedb if it is first time to install mlocate

apt-get install -y extundelete
# apt-get install -y testdisk
apt-get install -y ext4magic

